<template>
	<view>
		<view class="main">
			<view class="box">
				<view class="line" @click="goPage('/pages_common/pages_me/changeTel/changeTel')">
					<view class="name">手机号修改</view>
					<view class="icon"><u-icon name="arrow-right" color="#9A9A9A" size="24rpx"></u-icon></view>
				</view>
				<view class="line" @click="goPage('/pages_common/pages_me/changePassword/changePassword')">
					<view class="name">登录密码修改</view>
					<view class="icon"><u-icon name="arrow-right" color="#9A9A9A" size="24rpx"></u-icon></view>
				</view>
				<!-- 	<view
				  class="line"
				  @click="
				    goPage('/pages_common/pages_me/assets/setPassword/setPsd')
				  "
				>
				  <view class="name">设置支付密码</view>
				  <view class="icon">
				    <u-icon name="arrow-right" color="#9A9A9A" size="24rpx"></u-icon>
				  </view>
				</view> -->
			</view>
			<view class="box">
				<view class="line" @click="logOff">
					<view class="name">注销账户</view>
					<view class="icon">
						<text class="main">注销后将无法恢复</text>
						<u-icon name="arrow-right" color="#9A9A9A" size="24rpx"></u-icon>
					</view>
				</view>
			</view>
			<view class="box">
				<view class="line" @click="exitshow = true">
					<view class="name">退出登录</view>
					<view class="icon"><u-icon name="arrow-right" color="#9A9A9A" size="24rpx"></u-icon></view>
				</view>
			</view>
		</view>
		<u-popup v-model="exitshow" class="u-text-center"  mode="center" border-radius="20" width="540" height="300">
			<view class="popup_title">温馨提示</view>
			<view class="color-666 font-28">是否确认退出登录？</view>
			<view class="btnWrap">
				<view class="left" @click="exitshow = false">取消</view>
				<view class="right" @click="logout">确认</view>
			</view>
		</u-popup>
	</view>
</template>
<script src="./safeCenter.js"></script>
<style src="./safeCenter.scss" lang="scss"></style>
